package com.study.service;

import com.study.entity.BusReceiverEntity;

import java.util.List;
import java.util.Optional;

public interface BusReceiverService {

    BusReceiverEntity findByName(String name);

    List<BusReceiverEntity> findAll();

    List<BusReceiverEntity> findByNameMatch(String name);

    Optional<BusReceiverEntity> findById(Long id);
}
